<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
     /* 
        1. 数组常见方法
          a. 修改原数组的
            unshift  push  shift  pop  splice   reverse   sort  fill
             
          b. 不修改原数组
            indexOf  includes concat  slice  join   
            flat()   toReversed()  toSorted()  toSpliced()  with()  

          c. 数组的遍历方法
            forEach map filter some every reduce reduceRight 

            find  findIndex  findLast   findLastIndex

             Array.prototype.toReversed = function(index,value){
                let newList = JSON.parse(JSON.stringify(this));
                return newList.reverse();
            }

            Array.prototype.with = function(index,value){
                this.splice(index,1,value);
            }

        2. 数组排序 
            
            

        3. 数组去重  

           
        
    
    */


</script>
</html>